Windows Media Tools Banner Art

Scripting examples

The following items are examples of scripting uses:

URL flipping works well by itself, but other script commands require client-side assistance. The captioning in the second example requires some client-side assistance. For information on how to provide client-side assistance for script commands, see the ScriptCommand Event in the Microsoft Windows Media Software Development Kit at the Microsoft Web site.

; This is how you put content information into your .asf
; file when using VidToASF or WavToASF.
Title: This is the title
Author: ASF Maker
Copyright: 1998
Description: text that describes the .asf file
Rating: PG

; Demonstration of URL flipping and captioning
start_script_table
1.0 URL http://Windows Media/images/austr1.html&&Display
5.0 Caption Sydney Opera House
12.0 URL http://Windows Media/images/austr2.html&&Display
15.0 Caption A nice beach north of Sydney
32.0 URL http://Windows Media/images/austr3.html&&Display
35.0 Caption Australia's rain forest
end_script_table

Note



© 1996-1999 Microsoft Corporation. All rights reserved.